<div id="ContentGroup">
    <div class="count-header">
        <a>组织机构类型添加</a>
    </div>
    <div class="count-content-group">
        <div class="count-content">
            <form  id="ZZJGLX_Insert" data-role="form" data-event="finish" data-type="post" data-url="<{'ZZJGLX_Insert_Action'|U}>">
                <input type="hidden" id="ZZJGLX_BH_ORA"  name="ZZJGLX_BH_ORA" value="<{$Model->ZZJGLX_BH|security_encript}>" />
                <div class="count-content-title">组织机构类型</div>
                <div class="count-content-type"><{*此处添加全局注释*}></div>
                <div class="form-list-item">
                    <label class="form-list-item-label"><span style="color: red">*</span>名称</label>
                    <input type="text" id="ZZJGLX_MC" name="ZZJGLX_MC" value="<{$Model->ZZJGLX_MC }>"/>
                    <p class="form-list-item-tip"></p>
                </div>
                <div class="form-list-item">
                    <label class="form-list-item-label"><span style="color: red">*</span>显示顺序</label>
                    <{'ZZJGLX_XSSX'|html_dropdownlist:["1" , "2" , "3" , "4" , "5" , "6" , "7" , "8" , "9" , "10" , "11" , "12" , "13" , "14" , "15" , "16" , "17" , "18" , "19" , "20"]:$Model->ZZJGLX_XSSX}>
                    <p class="form-list-item-tip">默认信息将按从小到大顺序排列</p>
                </div>
            </form>     
            <div class="form-operation">
                <span class="button" id="ZZJGLX_Insert-Submit">提交</span>
                <span class="button" data-role="back">返回</span>
            </div>
        </div>
    </div>
</div>
<script>
    $(function () {
        $("#ContentGroup").formset(0);//开启页面标签页
        //$("#ZZJGLX_Insert").vtip();//开启鼠标提示.
        
        //客户端验证脚本
        $("#ZZJGLX_Insert").validate({
            rules:{
                "ZZJGLX_BH":{
                    "maxbytelength":50 ,
                    "required":true 
                }, 
                "ZZJGLX_MC":{
                    "maxbytelength":50 ,
                    "required":true 
                }, 
                "ZZJGLX_XSSX":{
                    "required":true 
                }, 
                "example":{} //可继续追加jquery validate客户端验证条件
            },
            "errorClass": "form-list-item-warn",
            //errorPlacement: function (error, element) {element.attr("data-tips", error.text());},//关闭默认提示，使用鼠标提示框时使用
            submitHandler: function () {
                $("#ZZJGLX_Insert").trigger("finish");
            }
        });
    
        $("#ZZJGLX_XSSX").attr("data-tip","默认信息将按从小到大顺序排列");
        $("#ZZJGLX_Insert-Submit").click(function () {
            $("#ZZJGLX_Insert").submit();
        });
    });
</script>
